
<div class="users form">
<?php
	echo $this->Session->flash('auth');
	echo $this->Form->create('User');
?>
	<fieldset>
 		<legend><?php __('Login'); ?></legend>
	<?php
		echo $this->Form->input('email');
		echo $this->Form->input('password');
		echo $this->Form->input('auto_login', array(
			'type' => 'checkbox',
			'checked' => true,
			'label' => __('Remember Me', true),
			'div' => false
			));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Enter', true));?>
</div>

<div class="users form">
<?php echo $this->Form->create('User', array(
		'url' => array(
			'controller' => 'register',
			'action' => null,
		)));?>
	<fieldset>
 		<legend><?php __('Add User'); ?></legend>
	<?php
		echo $this->Form->input('group_id');
		echo $this->Form->input('email');
		echo $this->Form->input('password');
		echo $this->Form->input('language');
		echo $this->Form->input('first_name');
		echo $this->Form->input('last_name');
		echo $this->Form->input('gender');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
